cmake_minimum_required(VERSION 3.5)
project(laser_can)

find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(std_msgs REQUIRED)
find_package(hb_msgs REQUIRED)

include_directories(include)

add_executable(laser_node src/senky_laser.cpp src/laser_controller.cpp src/iolayer.cpp)
ament_target_dependencies(laser_node rclcpp std_msgs hb_msgs)


install(
	TARGETS laser_node
	DESTINATION lib/${PROJECT_NAME}
)

install(
	DIRECTORY launch
	DESTINATION share/${PROJECT_NAME}
)


ament_package()
